package com.jingdianjichi.practice.server.dao;

import com.jingdianjichi.practice.server.entity.po.PracticeSetDetailPO;

import java.util.List;

public interface PracticeSetDetailDao {

    /**
     * 新增套题
     * @param detailPO
     * @return
     */
    int add(PracticeSetDetailPO detailPO);

    /**
     * 根据套题setId获取subjectId 和 subjectType
     * @param setId
     * @return
     */
    List<PracticeSetDetailPO> selectBySetId(Long setId);

}
